package com.training.bt.service;

import com.training.bt.entity.Promotion;

import java.util.List;

public interface IPromotionService {
    Promotion createPromotion(Promotion promotion);
    Promotion getPromotionById( Long promotionId);
    List<Promotion> getAllPromotions();
    List<Promotion> getActivePromotions();
    List<Promotion> getInProgressPromotions();
    Promotion updatePromotion(Promotion promotion);
    void deletePromotion( Long promotionId);
     Promotion updatePromotionStatus(Long promotionId, Boolean isActive);
}